﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Commerce/Views/Shared/Backend.Master"
    Inherits="System.Web.Mvc.ViewPage<ISupportTicket>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%: "Create".Localize()%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h3 class="title">
        <%: "Create".Localize() %></h3>
<div class="common-form">
    <% using (Html.BeginForm())
       { %>
    <table class="form-table">
        <tbody>
            <tr>
                <th>
                    <%: Html.LabelFor(m => m.Subject) %>
                </th>
                <td>
                    <%: Html.TextBoxFor(m => m.Subject) %>
                    <%: Html.ValidationMessageFor(m => m.Subject) %>
                </td>
            </tr>
            <tr>
                <th>
                    <%: Html.LabelFor(m => m.Body)%>
                </th>
                <td>
                    <%: Html.TextAreaFor(m => m.Body, new {rows=10})%>
                    <%: Html.ValidationMessageFor(m => m.Body) %>
                </td>
            </tr>
        </tbody>
    </table>
    <p class="buttons">
        <input type='submit' name="save" value='<%: "Send".Localize() %>' class="button" /></p>
    <%} %>
</div>
</asp:Content>
